from pathlib import Path
from datetime import datetime
p = Path('F:\\python\\第1章\\工作信息表\\供应商信息表.xlsx')
file_time = p.stat().st_mtime
file_time = datetime.fromtimestamp(file_time)
file_time_new = file_time.strftime('%Y年%m月%d日 %H:%M:%S')
print(file_time_new)
